import request from '@/utils/request'
const appUrl = '/portal'

const api = {
  /*
   *  常用应用列表
   * */
  getMyProjectList(params) {
    return request({
      url: appUrl + '/api/v1/project/getMyProjectList',
      method: 'GET',
      params
    })
  },
  /*
   * 进入应用前触发事件
   * */
  visitProjectBeforeEvent(params) {
    return request({
      url: appUrl + '/api/v1/project/visitProjectBeforeEvent',
      method: 'GET',
      params
    })
  }
}

export default api;
